import Vue from 'vue'
import Router from 'vue-router'
import { routes } from '@/router/module/home'

Vue.use(Router)

let router = new Router({
    mode:'history',
    routes: [...routes]
})
router.beforeEach((to, from, next) => {
    next()

})

export default router